Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDispatcher


RegisterIdle

Mac OS

The RegisterIdle method adds the specified part and frame to the list of parts interested in receiving idle time.

void RegisterIdle (in ODPart part, 
                   in ODFrame frame, 
                   in ODIdleFrequency frequency);
part
A reference to a part that is to receive null events.
frame
A reference to a frame that is to receive null events, or kODNULL if the part as a whole is to receive idle time.
frequency
The idle frequency, expressed in ticks (60ths of a second).
DISCUSSION
Your part typically calls this method, if it needs idle time, when a facet or frame is added.

SEE ALSO
The ODIdleFrequency type (page 892).
The ODDispatcher::SetIdleFrequency method (page 123).
The ODDispatcher::UnregisterIdle method (page 125).
"Null Events" on page 194 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help